use constants instead of strings

Change-Id: Ic83397fedeeb9ab6413b0b12e5a4090fc5f44598