adds types and function to help with rgba access