"n" here represents a brick index starting from 0
type
value